#include"Mystdio.h"
#include<string.h>
#include<unistd.h>

#define myfile "test.txt"
#define out "Hello Linux!!!"
int main()
{
    _FILE* fp = _fopen(myfile,"a");
    int cnt = 2;
    while(cnt--) 
    {
        _fwrite(out,strlen(out),1,fp);
        //sleep(1);
    }
    //char buffer[1024];
    //read(fp->fd,buffer,strlen(fp->outbuffer));
    //printf("%s",buffer);
    _fwrite("\n",1,1,fp);
    _fclose(fp);
    return 0;
}
